//
//  ICarouselView.h
//  BaiYing_Thinker
//
//  Created by 鹏 朱 on 15/11/12.
//  Copyright (c) 2015年 XKJH. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "iCarousel.h"

typedef void (^SubjectDidSelectedBlock)(NSInteger);
typedef void (^HandlePinchDidTouchedBlock)(void);

@interface ICarouselView : UIView<iCarouselDataSource, iCarouselDelegate>

@property (nonatomic, strong) iCarousel *carousel;
@property(nonatomic,strong) NSArray* ds;
@property(nonatomic, retain) NSMutableArray *previousDataList;
@property(nonatomic, retain) NSMutableArray *nextDataList;
@property (nonatomic,copy) SubjectDidSelectedBlock subjectDidSelectedBlock;
@property (nonatomic,copy) HandlePinchDidTouchedBlock handlePinchDidTouchedBlock;

- (id)initWithFrame:(CGRect)frame ds:(NSArray *)ds;

@end
